<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    /*max-width 小于等于 */
    /* @media 媒体查询可以针对不同的屏幕尺寸设置不同的样式 */
    @media screen and (min-width:10px) {
        body {
            background-color: pink;
        }
    }

    @media screen and (min-width:700px) {
        body {
            background-color: blue;
        }
    }

    @media screen and (min-width:800px) {
        body {
            background-color: brown;
        }
    }

    /* screen 和 and 必须带上 */
</style>

<body>

</body>

</html>